class CreateConstructionLogs < ActiveRecord::Migration
  def self.up
    create_table :construction_logs do |t|
      t.column :created_at,     :date,                  :null => false
      t.column :created_hour,   :string,                :null => false
      t.column :title,          :string, :limit => 100, :null => false
      t.column :content,        :text
      t.column :classification, :string, :limit => 50,  :null => false   #string or int/should be create a classification table?    
    end
  end

  def self.down
    drop_table :construction_logs
  end
end
